#ifndef INPORTDIALOG_H
#define INPORTDIALOG_H
#include "sql.h"
#include <QDialog>

namespace Ui {
class ImportDialog;
}

class ImportDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ImportDialog(CSql* sql,QWidget *parent = nullptr);
    ~ImportDialog();

public slots:
    void OnOK();
    void OnOpen();
    void DoProcess();

private:
    Ui::ImportDialog *ui;
    CSql* m_Sql;
    std::vector<std::string> m_ImportData;
    void DoImport();

};

#endif // INPORTDIALOG_H
